package com.shketai.service;

import com.shketai.dao.TeacherDao;
import com.shketai.entity.Teacher;

public class TeacherService {
	
	private TeacherDao teacherDao;
	

	public void setTeacherDao(TeacherDao teacherDao) {
		this.teacherDao = teacherDao;
	}



	public Teacher login(String username,String password,int role) {
		Teacher teacher =  teacherDao.login(username,password,role);
		return teacher;
	}

}
